{include file="public/header" /}
<link rel="stylesheet" href="/static/admin/addons/builder/css/base.css" media="all">
<link rel="stylesheet" href="/static/admin/css/welcome.css" media="all">

<body>
<div class="layui-fluid">
    <div class="layui-row layui-col-space8">

        {foreach name="list" item="vo"}
        <div class="layui-col-md12">
            <div class="layui-card h170">
                <div class="card-rows">
                    <div class="layui-card-header">{$vo.title}</div>
                    <div class="layui-row card-rows-fast">

                        <div class="layui-col-xs4">
                            <div class="card-rows-item">

                                <div class="right right-onec">
                                    <p class="right-top">昨日</p>
                                    <p class="right-button counter">{$vo.title == "会员统计"?intval($vo.yesterday):$vo.yesterday}</p>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-xs4">
                            <div class="card-rows-item">

                                <div class="right right-onec">
                                    <p class="right-top">今日</p>
                                    <p class="right-button counter">{$vo.title == "会员统计"?intval($vo.today):$vo.today}</p>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-xs4">
                            <div class="card-rows-item">

                                <div class="right right-onec">
                                    <p class="right-top">上月</p>
                                    <p class="right-button counter">{$vo.title == "会员统计"?intval($vo.last_month):$vo.last_month}</p>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-xs4">
                            <div class="card-rows-item">

                                <div class="right right-onec">
                                    <p class="right-top">本月</p>
                                    <p class="right-button counter">{$vo.title == "会员统计"?intval($vo.month):$vo.month}</p>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-xs4">
                            <div class="card-rows-item">

                                <div class="right right-onec">
                                    <p class="right-top">本年</p>
                                    <p class="right-button counter">{$vo.title == "会员统计"?intval($vo.year):$vo.year}</p>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-xs4">
                            <div class="card-rows-item">

                                <div class="right right-onec">
                                    <p class="right-top">汇总</p>
                                    <p class="right-button counter">{$vo.title == "会员统计"?intval($vo.sum):$vo.sum}</p>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
        {/foreach}

        <div class="layui-col-md6">
            <div class="layui-card h170">
                <div class="card-rows">
                    <div class="layui-card-header">等级统计</div>
                    <div class="layui-row card-rows-fast">
                        {foreach name="level" item="vo"}
                        <div class="layui-col-xs4">
                            <div class="card-rows-item">

                                <div class="right right-onec">
                                    <p class="right-top">{$vo.title}</p>
                                    <p class="right-button counter">{$vo.count}</p>
                                </div>
                            </div>
                        </div>
                        {/foreach}
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-card h170">
                <div class="card-rows">
                    <div class="layui-card-header">账户统计</div>
                    <div class="layui-row card-rows-fast">
                        {foreach name="assets" item="vo"}
                        <div class="layui-col-xs4">
                            <div class="card-rows-item">

                                <div class="right right-onec">
                                    <p class="right-top">{$vo.title}</p>
                                    <p class="right-button counter">{$vo.sum}</p>
                                </div>
                            </div>
                        </div>
                        {/foreach}
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

</body>
{include file="public/footer" /}
<script src="/static/res/anim/jquery.waypoints.min.js"></script>
<script src="/static/res/anim/jquery.countup.min.js"></script>
<script>
    $(function () {
        $('.counter').countUp({
            delay: 10,
            time: 500
        });
    });
</script>
</html>